import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import SU from '../components/shop-ui'
import P from '../components/Person'
import login from '../components/login'
import mp from '../components/my_person'
import up from '../components/updataP'
import um from '../components/updataMy'
import menu from '../components/menu'
import myList from '../components/myList'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld
    }, {
      path: '/shop-ui',
      name: 'shop-ui',
      component: SU,
    }, {
      path: '/person',
      name: 'Person',
      component: P,
    }, {
      path: '/login',
      name: 'login',
      component: login,
    }, {
      path: '/my_person',
      name: 'mp',
      component: mp
    }, {
      path: '/updataPsd',
      name: 'up',
      component: up
    }, {
      path: '/updataMy',
      name: 'um',
      component: um
    }, {
      path: '/menu',
      name: 'menu',
      component: menu
    }, {
      path: '/myList',
      name: 'myList',
      component: myList,
    }
  ]
})
